package com.lemontree.spring.thread;

import com.lemontree.spring.model.User;

public class MyThread extends Thread {

    private User user ;

    public MyThread(User user) {
        this.user = user;
    }

    @Override
    public void run() {
        user.add("b");
    }
}
